package com.beta.cust.bind.mapper.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * <p>
 * 员工-客户关联表
 * </p>
 *
 * @author pcc
 * @since 2024-03-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "EmpCustRef对象", description = "员工-客户关联表")
@TableName("wxwork_emp_cust_ref")
public class EmpCustRef implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "用户Id")
    private String userId;

    @ApiModelProperty(value = "企业id")
    private String corpId;

    @ApiModelProperty(value = "外部客户Id")
    private String externalUserid;

    @ApiModelProperty(value = "是否已认证0未认证 1已认证")
    private Integer certified;

    @ApiModelProperty(value = "删除标志 0 未删除 1 已删除")
    private String delFlag;

    @ApiModelProperty(value = "创建时间")
    private Timestamp createTime;

    @ApiModelProperty(value = "修改时间")
    private Timestamp updateTime;


}
